package com.muy.redis.view.component;

import com.intellij.openapi.project.Project;
import com.intellij.openapi.ui.SimpleToolWindowPanel;
import com.muy.redis.view.window.redis.MrRedisTree;

/**
 * @Author jiyanghuang
 * @Date 2023/9/15 20:14
 */
public class MrRedisTab extends SimpleToolWindowPanel {

    private Project project;

    private MrRedisTree mrRedisTree;

    public MrRedisTab(Project project) {
        super(true, false);
        this.project = project;
        mrRedisTree = new MrRedisTree(project);
        add(mrRedisTree);
    }

    public MrRedisTree getMrRedisTree() {
        return mrRedisTree;
    }
}
